{% extends "cab/base.html" %}
{% load snippets %}
{% block title %}All tags usee for snippets -{{ block.super }}{% endblock %}

{% block content %}
<h1>All snippets tags</h1>

{% tag_cloud_for_model cab.Snippet as snippet_tags with steps=9 min_count=1 distribution=log %}
{% for tag in snippet_tags %}
<a href="{% url snippets_by_tag tag=tag.name %}" style="font-size:{{tag.font_size|add:10}}px;" 
   title="used {{tag.count}} times" class="tag snippet-tag">{{tag.name}}</a>
{% endfor %}
{% endblock %}